POV-Ray : Newsgroups : povray.unofficial.patches : Hot Asphalt (variable ior) : Hot Asphalt (variable ior) Server Time
2 Sep 2024 06:19:49 EDT (-0400)
  Hot Asphalt (variable ior)  
From: Artemia Salina
Date: 28 Apr 2000 23:38:40
Message: <390A4CA3.1A5A0F7E@sheayright.com>
Pardon me if this isn't the correct group to bring this up in.
It probably is if there is no work-around for the effect I want
to create.

I've been working with media lately, trying to model realistic
flames and smoke, and while doing so it occured to me that it'd
be nice to be able to have the ior of a material vary in a controlled
way. Does anyone know how this can be done (or simulated) in
MegaPov?

If not, I wonder how difficult it would be to extend MegaPov's
interior ior to optionally use an ior map, much like the density
statement for media?

Something like:

interior{
      ior{
         bozo
         color_map{
             [0.0 rgb 0]
             [0.2 rgb 1]
             [0.5 rgb 1.2]
             [1.0 rgb 2.5]
         }
       }
}



TIA


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.